<html>
<head>
<link href="css/style.css" rel="stylesheet"/>
<title>LiveResults - orienteeringresults online</title>
</head>
<body>
<div id="main">
<div id="main-topnav">
<h1>LiveResults - orienteeringresults online</h1>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/CreateNew">Create Competition</a></li>
<li><a href="/Developer">For Developers</a></li>
<li><a href="/About">About</a></li>
</ul>
</div>
<div id="main-home">
<p>
Select the competition you want to edit
</p>
<p><span style="font-size: 170%; font-weight: bold; padding-top: 20px;">Your competitions</span><br/><br/>
<table class="ae-table" id="ae-trust-status-table">
<thead>
<tr><th width="100">Date</th><th>Competition</th><th>Organizer</th><th></th></tr>
</thead>
<tbody>
 {% if usercomps  %}
 {% for comp in usercomps %}
        <tr><td>{{comp.date}}</td><td><a href="/Edit/{{comp.key}}?email={{email}}&password={{password}}">{{ comp.name }}</a></td><td>{{comp.organizer}}</td>
<td>
<img src="/images/{{comp.country}}.png"/>
</td>
</tr>
    {% endfor %}

{% else %}
<tr><th colspan="4">No competitions found</th></tr>
{%endif%}
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>
